# docker build -f src/main/docker/Dockerfile -t zhangxiaotian/caizi .
#
# Then run the container using:
#
# docker run -i --rm -p 8080:8080 zhangxiaotian/caizi

FROM openjdk:17
LABEL authors="zhangxiaotian"

ENV JAVA_OPTS="-Xmx512m -Xms256m"

COPY target/caizi-0.0.1-SNAPSHOT.jar /app/

WORKDIR /app

ENTRYPOINT ["java", "-jar", "caizi-0.0.1-SNAPSHOT.jar"]